<!DOCTYPE html>
<html class="x-admin-sm">
  <head>
    <meta charset="UTF-8">
    <title>欢迎页面-X-admin2.1</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width,height=device-height,initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no">
    <link rel="stylesheet" href="__ADMIN__/css/font.css">
    <link rel="stylesheet" href="__ADMIN__/css/xadmin.css">
      <!--百度ueditor-->
    <script src="__ADMIN__/plus/ueditor/ueditor.config.js"></script>
    <script src="__ADMIN__/plus/ueditor/ueditor.all.min.js"></script>

    <script type="text/javascript" src="__ADMIN__/js/jquery.min.js"></script>
    <script type="text/javascript" src="__ADMIN__/lib/layui/layui.js" charset="utf-8"></script>
    <script type="text/javascript" src="__ADMIN__/js/xadmin.js"></script>
    <script type="text/javascript" src="__ADMIN__/js/cookie.js"></script>
  </head>
  <body>
    <div class="x-body">
        <form class="layui-form">
            <input name="id" type="hidden" value="{$articles.id}"/>
            <input name="status" type="hidden" value="1" />

          <fieldset class="layui-elem-field layui-field-title" style="margin-top: 30px;">
            <legend>{:idToAdminname($articles.aid)} {$articles.add_time|date="Y-m-d",###}的工作总结</legend>
          </fieldset>
          <div class="layui-form-item">
            <label for="L_repass" class="layui-form-label">
              总结文档
            </label>
            
            <a href="https://view.officeapps.live.com/op/view.aspx?src=http://oa.twjha.cn{$articles.content}" target="_blank" class="layui-btn layui-btn-primary">预览</a>
            <a href="{$articles.content}" target="_blank" class="layui-btn layui-btn-primary">完整下载</a>
          </div>
          {if condition="!$articles.pizhu_text && !$articles.pizhu"}
          <fieldset class="layui-elem-field layui-field-title" style="margin-top: 30px;">
            <legend>等待批注</legend>
          </fieldset>
          {else /}
          <fieldset class="layui-elem-field layui-field-title" style="margin-top: 30px;">
            <legend>上级批注</legend>
          </fieldset>
          {/if}
          {if condition="$articles.pizhu_text "}

          <div class="layui-body" style="left:0">
            <div style="padding: 15px;left:0">{$articles.pizhu_text }</div>
          </div>


          {/if}
          {if condition="$articles.pizhu "}

          <div class="layui-form-item">
            <label for="L_repass" class="layui-form-label">
              详细批注文档
            </label>
            
            <a href="{$articles.pizhu}" target="_blank" class="layui-btn layui-btn-primary">下载</a>
          </div>


          {/if}

      </form>
    </div>
    <script>
        //实例化编辑器

        layui.use(['form','layer'], function(){
          $ = layui.jquery;
          var form = layui.form
          ,layer = layui.layer;

          
        });
    </script>
  </body>

</html>